import request from '@/utils/request'// 查询公告列表

export function areasList(data) {
  return request({
    url: '/areas/list',
    method: 'post',
    data: data
  })
}
// 详情
export function getAreas(data) {
    return request({
      url: '/areas/info',
      method: 'post',
      data: data
    })
}
// 修改参数配置
export function updateAreas(data) {
    return request({
      url: '/areas/edit',
      method: 'post',
      data: data
    })
  }

  // 删除
export function delAreas(data) {
    return request({
      url: '/areas/remove',
      method: 'post',
      data: data
    })
  }

  // 删除
  export function addAreas(data) {
    return request({
      url: '/areas/add',
      method: 'post',
      data: data
    })
  }